home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 June: Reference Library / Dev.CD Jun 95 / Dev.CD Jun 95.toast / What's New? / New System Software Extensions / QuickDraw 3D ß / Programming / Interfaces / QD3DString.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-04  |  1.6 KB  |  65 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        QD3DString.h                                              **
  4.  **                                                                          **
  5.  **                                                                          **
  6.  **     Purpose:                                                                **
  7.  **                                                                          **
  8.  **                                                                          **
  9.  **                                                                          **
  10.  **     Copyright (C) 1994-1995 Apple Computer, Inc. All rights reserved.     **
  11.  **                                                                          **
  12.  **                                                                          **
  13.  *****************************************************************************/
  14. #ifndef QD3DString_h
  15. #define QD3DString_h
  16.  
  17. #if PRAGMA_ONCE
  18.     #pragma once
  19. #endif
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif /*  __cplusplus  */
  24.  
  25.  
  26. /******************************************************************************
  27.  **                                                                             **
  28.  **                                String Routines                                 **
  29.  **                                                                             **
  30.  *****************************************************************************/
  31.  
  32. TQ3ObjectType Q3String_GetType(
  33.     TQ3StringObject        stringObj);
  34.  
  35.  
  36. /******************************************************************************
  37.  **                                                                             **
  38.  **                        C String Routines                                     **
  39.  **                                                                             **
  40.  *****************************************************************************/
  41.  
  42. TQ3StringObject Q3CString_New(
  43.     const char                *string);
  44.  
  45. TQ3Status Q3CString_GetLength(
  46.     TQ3StringObject            stringObj,
  47.     unsigned long            *length);
  48.  
  49. TQ3Status Q3CString_SetString(
  50.     TQ3StringObject            stringObj,
  51.     const char                *string);
  52.  
  53. TQ3Status Q3CString_GetString(
  54.     TQ3StringObject            stringObj,
  55.     char                    **string);
  56.  
  57. TQ3Status Q3CString_EmptyData(
  58.     char                    **string);
  59.  
  60. #ifdef __cplusplus
  61. }
  62. #endif /*  __cplusplus  */
  63.  
  64. #endif  /*  QD3DString_h  */
  65.